package com.jsh.model.po;

import java.util.Map;

@SuppressWarnings("serial")
public class Bom implements java.io.Serializable
{
	private Long id =0l;
	private Integer item;
	private Integer qty;
	private String ref_designator = "";
	private String complete_part= "";
	private String description = "";
	private String pakage_type_or_doc_type = "";
	private String value_or_rev = "";
	private String voltage = "";
	private String tolerances= "";
	private String special_comments = "";
	private String rohs = "";
	private String temperature_range = "";
	private String manufacturer = "";
	private String supplier = "";
	private String supplier_part_no= "";
	private String second_source_manufacturer = "";
	private String second_source_part_no = "";
	private String dr_rart_number = "";
	private Boolean enabled = true;
	private Short isystem = 1;    
	//----------以下属性导入exel表格使用--------------------
		/**
		 * 类型 right--正确 warn--警告  wrong--错误
		 */
		private Map<Integer, String> cellInfo;

		/**
		 * 行号
		 */
		private Integer rowLineNum;

		private String  advanceInStr;

		private String beginNeedGetStr;

		private String beginNeedPayStr;

		private String taxRateStr;

		private String enabledStr;

		public Bom()
		{
			
		}
		
		public Bom(Long id)
		{
		    this.id = id;
		}

		public Bom(Integer item, Integer qty, String ref_designator,
				String complete_part,String description, String pakage_type_or_doc_type, 
				String value_or_Rev,String voltage, String tolerances,String special_comments,
				String rohs, String temperature_range,String manufacturer,String supplier,
				String supplier_part_no, String second_source_manufacturer,String second_source_part_no,
				String dr_rart_number) {
					super();
					this.item = item;
					this.qty = qty;
					this.ref_designator = ref_designator;
					this.complete_part = complete_part;
					this.description = description;
					this.pakage_type_or_doc_type = pakage_type_or_doc_type;
					this.value_or_rev = value_or_Rev;
					this.voltage = voltage;
			        this.tolerances = tolerances;
					this.special_comments = special_comments;
					this.rohs = rohs;
					this.temperature_range = temperature_range;
					this.manufacturer = manufacturer;
					this.supplier = supplier;
					this.supplier_part_no = supplier_part_no;
					this.second_source_manufacturer = second_source_manufacturer;
			        this.second_source_part_no = second_source_part_no;
					this.dr_rart_number = dr_rart_number;
			

				}

		public Long getId() {
			return id;
		}

		public void setId(Long id) {
			this.id = id;
		}



		public Integer getItem() {
			return item;
		}

		public void setItem(Integer item) {
			this.item = item;
		}

		public Integer getQty() {
			return qty;
		}

		public void setQty(Integer qty) {
			this.qty = qty;
		}

		public String getRef_designator() {
			return ref_designator;
		}

		public void setRef_designator(String ref_designator) {
			this.ref_designator = ref_designator;
		}

		public String getComplete_part() {
			return complete_part;
		}

		public void setComplete_part(String complete_part) {
			this.complete_part = complete_part;
		}

		public String getDescription() {
			return description;
		}

		public void setDescription(String description) {
			this.description = description;
		}

		public String getPakage_type_or_doc_type() {
			return pakage_type_or_doc_type;
		}

		public void setPakage_type_or_doc_type(String pakage_type_or_doc_type) {
			this.pakage_type_or_doc_type = pakage_type_or_doc_type;
		}

		public String getValue_or_rev() {
			return value_or_rev;
		}

		public void setValue_or_rev(String value_or_rev) {
			this.value_or_rev = value_or_rev;
		}

		public String getVoltage() {
			return voltage;
		}

		public void setVoltage(String voltage) {
			this.voltage = voltage;
		}

		public String getTolerances() {
			return tolerances;
		}

		public void setTolerances(String tolerances) {
			this.tolerances = tolerances;
		}

		public String getSpecial_comments() {
			return special_comments;
		}

		public void setSpecial_comments(String special_comments) {
			this.special_comments = special_comments;
		}

		public String getRohs() {
			return rohs;
		}

		public void setRohs(String rohs) {
			this.rohs = rohs;
		}

		public String getTemperature_range() {
			return temperature_range;
		}

		public void setTemperature_range(String temperature_range) {
			this.temperature_range = temperature_range;
		}

		public String getManufacturer() {
			return manufacturer;
		}

		public void setManufacturer(String manufacturer) {
			this.manufacturer = manufacturer;
		}

		public String getSupplier() {
			return supplier;
		}

		public void setSupplier(String supplier) {
			this.supplier = supplier;
		}

		public String getSupplier_part_no() {
			return supplier_part_no;
		}

		public void setSupplier_part_no(String supplier_part_no) {
			this.supplier_part_no = supplier_part_no;
		}

		public String getSecond_source_manufacturer() {
			return second_source_manufacturer;
		}

		public void setSecond_source_manufacturer(String second_source_manufacturer) {
			this.second_source_manufacturer = second_source_manufacturer;
		}

		public String getSecond_source_part_no() {
			return second_source_part_no;
		}

		public void setSecond_source_part_no(String second_source_part_no) {
			this.second_source_part_no = second_source_part_no;
		}

		public String getDr_rart_number() {
			return dr_rart_number;
		}

		public void setDr_rart_number(String dr_rart_number) {
			this.dr_rart_number = dr_rart_number;
		}

		public Boolean getEnabled() {
			return enabled;
		}

		public void setEnabled(Boolean enabled) {
			this.enabled = enabled;
		}

		public Short getIsystem() {
			return isystem;
		}

		public void setIsystem(Short isystem) {
			this.isystem = isystem;
		}

		public Map<Integer, String> getCellInfo() {
			return cellInfo;
		}

		public void setCellInfo(Map<Integer, String> cellInfo) {
			this.cellInfo = cellInfo;
		}

		public Integer getRowLineNum() {
			return rowLineNum;
		}

		public void setRowLineNum(Integer rowLineNum) {
			this.rowLineNum = rowLineNum;
		}

		public String getAdvanceInStr() {
			return advanceInStr;
		}

		public void setAdvanceInStr(String advanceInStr) {
			this.advanceInStr = advanceInStr;
		}

		public String getBeginNeedGetStr() {
			return beginNeedGetStr;
		}

		public void setBeginNeedGetStr(String beginNeedGetStr) {
			this.beginNeedGetStr = beginNeedGetStr;
		}

		public String getBeginNeedPayStr() {
			return beginNeedPayStr;
		}

		public void setBeginNeedPayStr(String beginNeedPayStr) {
			this.beginNeedPayStr = beginNeedPayStr;
		}

		public String getTaxRateStr() {
			return taxRateStr;
		}

		public void setTaxRateStr(String taxRateStr) {
			this.taxRateStr = taxRateStr;
		}

		public String getEnabledStr() {
			return enabledStr;
		}

		public void setEnabledStr(String enabledStr) {
			this.enabledStr = enabledStr;
		}

		@Override
		public String toString() {
			return "Bom [id=" + id + ", item=" + item + ", qty=" + qty + ", ref_designator="
					+ ref_designator + ", complete_part=" + complete_part + ", description=" + description
					+ ", pakage_type_or_doc_type=" + pakage_type_or_doc_type + ", value_or_rev=" + value_or_rev
					+ ", voltage=" + voltage + ", tolerances=" + tolerances + ", special_comments=" + special_comments
					+ ", rohs=" + rohs + ", temperature_range=" + temperature_range + ", manufacturer=" + manufacturer
					+ ", supplier=" + supplier + ", supplier_part_no=" + supplier_part_no
					+ ", second_source_manufacturer=" + second_source_manufacturer + ", second_source_part_no="
					+ second_source_part_no + ", dr_rart_number=" + dr_rart_number + ", enabled=" + enabled
					+ ", isystem=" + isystem + ", cellInfo=" + cellInfo + ", rowLineNum=" + rowLineNum
					+ ", advanceInStr=" + advanceInStr + ", beginNeedGetStr=" + beginNeedGetStr + ", beginNeedPayStr="
					+ beginNeedPayStr + ", taxRateStr=" + taxRateStr + ", enabledStr=" + enabledStr + "]";
		}
	    
 
}
